<script setup lang="ts">
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
</script>

<template>
  <el-config-provider :locale="zhCn">
    <router-view />
  </el-config-provider>
</template>

<style lang="scss">
/* 添加全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.map-container {
  height: 100%;
  width: 100%;
}
html,
body,
#app {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.el-container {
  height: 100vh;
  width: 100%;
}

.el-aside {
  width: auto !important;
  .el-menu {
    border-right: none;
  }
}

.el-menu:not(.el-menu--collapse) {
  width: 200px;
}

.el-menu--collapse {
  width: 64px;
}
</style>
